package com.itheima.stringdemo;

public class Demo07 {

    public static void main(String[] args) {

        String s3="魑魅魍魉翟";
        byte[] bytes1 = s3.getBytes();
        for (int i = 0; i < bytes1.length; i++) {
            System.out.println(bytes1[i]);
        }

        byte[] bytes={-23,-83,-111};
        String s = new String(bytes);
        System.out.println(s);
        byte[] bytes2={-23,-83,-112};
        String s2 = new String(bytes2);
        System.out.println(s2);
        byte[] bytes3={-23,-83,-113};
        String s4 = new String(bytes3);
        System.out.println(s4);
        byte[] bytes5={-25,-65,-98};
        String s5 = new String(bytes5);
        System.out.println(s5);
    }
}
